<template>
  <div class="page-one">
    <div style="background-color: red">微项目页面一</div>
    <h3 @click="push('/qiankun-main/one')">跳转主项目页面一</h3>
    <h3 @click="push('/qiankun-main/two')">跳转主项目页面二</h3>
    <h3 @click="push('/qiankun-app/two')">跳转微项目页面二</h3>
  </div>
</template>
<script>

  export default {
    name: 'HomeView',
    components: {
    },
    methods: {
      push(subapp) {
        history.pushState(null, subapp, subapp);
      },
    }
  }
</script>
<style scoped lang="less">
  .page-one{
    width: 100%;
    height: 100%;
    background-color: orange;
  }
  h3{
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 20px;
  }
</style>
